home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / TRCKR.PAK / TRACKVW.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  2KB  |  61 lines

  1. // trackvw.h : interface of the CTrackerView class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14.  
  15. class CTrackerView : public CView
  16. {
  17. protected: // create from serialization only
  18.     CTrackerView();
  19.     DECLARE_DYNCREATE(CTrackerView)
  20.  
  21. // Attributes
  22. public:
  23.     CTrackerDoc* GetDocument();
  24.  
  25. // Operations
  26. public:
  27.  
  28. // Implementation
  29. public:
  30.     virtual ~CTrackerView();
  31.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  32. #ifdef _DEBUG
  33.     virtual void AssertValid() const;
  34.     virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36.     virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
  37.  
  38.     // Printing support
  39. protected:
  40.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  41.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  42.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  43.  
  44. // Generated message map functions
  45. protected:
  46.     //{{AFX_MSG(CTrackerView)
  47.     afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  48.     afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
  49.     afx_msg void OnViewSethandlesize();
  50.     afx_msg void OnViewSetminimumsize();
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. #ifndef _DEBUG  // debug version in trackvw.cpp
  56. inline CTrackerDoc* CTrackerView::GetDocument()
  57.    { return (CTrackerDoc*) m_pDocument; }
  58. #endif
  59.  
  60. /////////////////////////////////////////////////////////////////////////////
  61.